/*
 * Created on Oct 1, 2003
 * ActivityRow
 * Local Projects Database
 * (c) 2003 eRomania Gateway Association
 *
 */
package ro.gateway.aida.obj.searchrows;

import java.io.Serializable;
import java.sql.Date;

/**
 * @author Mihai Postelnicu
 * ActivityRow - we don't use multilingual here because of query's complexity :(
 * Stores an activity row info as shown in a searchlist
 *  *  
 */
public class ActivityRow implements Serializable  {
	protected String title;
	protected String country;
	protected String sector;
	protected Date date;
	protected long id;

	public ActivityRow() {
		title=new String("Undefined Title");
		sector=new String(" -- ");
		country=new String(" -- ");
	}

	
	/**
	 * @return
	 */
	public String getCountry() {
		return country;
	}

	/**
	 * @return
	 */
	public long getId() {
		return id;
	}

	/**
	 * @return
	 */
	public String getSector() {
		return sector;
	}

	/**
	 * @return
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param string
	 */
	public void setCountry(String string) {
		if(string!=null) country = string;
	}

	/**
	 * @param l
	 */
	public void setId(long l) {
		id = l;
	}

	/**
	 * @param string
	 */
	public void setSector(String string) {
		if(string!=null) sector = string;
	}

	/**
	 * @param string
	 */
	public void setTitle(String string) {
		if(string!=null) title = string;
	}

	/**
	 * @return
	 */
	public Date getDate() {
		return date;
	}

	/**
	 * @param date
	 */
	public void setDate(Date date) {
		this.date = date;
	}

}
